import { IContentTable } from '@/components/page-content/index';

export const contentTableConfig: IContentTable = {
  tableTitle: '用户列表',
  propList: [
    { prop: 'name', label: '用户名', minWidth: 100 },
    { prop: 'id', label: 'id', minWidth: 50 },
    { prop: 'realname', label: '真实姓名', minWidth: 80 },
    { prop: 'cellphone', label: '手机号码', minWidth: 120 },
    { prop: 'enable', label: '状态', minWidth: 100, slotName: 'status' },
    {
      prop: 'createAt',
      label: '创建时间',
      minWidth: 160,
      slotName: 'createAt'
    },
    {
      prop: 'updateAt',
      label: '更新时间',
      minWidth: 160,
      slotName: 'updateAt'
    },
    { label: '操作', minWidth: 150, slotName: 'handler' }
  ],

  isShowSerialNumberColumn: false,
  isShowSelectColumn: true
};
